class CreateThings < ActiveRecord::Migration
  def self.up
    create_table :things do |t|
      t.column :title, :string
      t.column :description, :text
      t.column :deadline, :date
      t.column :priority, :integer, :default => 0
      t.column :category, :string
      t.column :img_url,  :string
      
    end
  end

  def self.down
    drop_table :things
  end
end
